/*
 * OrderResultStatisticsListItem.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.data.response.QueryOrderResultResponse;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.OrderInformationResultStatisticsHolder;

/** 订单结果 统计 ListItem */
public class OrderInformationResultStatisticsListItem
        extends
        DisplayListItem<OrderInformationResultStatisticsHolder, QueryOrderResultResponse.Data> {

    public OrderInformationResultStatisticsListItem(QueryOrderResultResponse.Data s) {
        super(s);
    }

    @Override
    public void onShow(Context context, OrderInformationResultStatisticsHolder holder) {
        holder.refreshUI(data);
    }

    @Override
    public String getDisplayItemTag() {
        return OrderInformationResultStatisticsListItem.class.getSimpleName();
    }

    @Override
    public Class<OrderInformationResultStatisticsHolder> getViewHolderClazz() {
        return OrderInformationResultStatisticsHolder.class;
    }
}
